package gdou.gym.service.order;

import gdou.gym.vo.AdminQueryOrderSpaceCostVo;
import gdou.gym.vo.AdminQueryOrderVo;
import gdou.gym.vo.MyPageInfo;
import gdou.gym.vo.OrderViewVo;

import java.util.Collection;
import java.util.List;
import java.util.Map;

public interface OrderService {
    void addOrder(Integer spaceTimeID, String account);

    List<OrderViewVo> queryMyOrderMsg(String account);

    void cancelOrder(String orderNo);

    Map<String, Object> queryAllOrderByCondition(MyPageInfo<AdminQueryOrderVo> info);

    Collection<Object> queryOrderSpaceMsg();

    List<AdminQueryOrderSpaceCostVo> queryOrderSpaceCostMsg();

    Map<String, Double> searchRecentOrder(String curDate, Integer beforeThisDaysNums);
}
